import request from '@/utils/request';

//-- 获取数据
export async function getData() {
    return request(`/api/appconfig/getData`, {
        method: 'POST'
    });
}

//-- 保存数据
export async function saveData(params = {}) {
    return request(`/api/appconfig/saveData`, {
        method: 'POST',
        body: params
    });
}
